>Chapter "Welcome"
-----------------------
Welcome to RegRun III for DOS! 

Why it is needed for you?
RegRun III for DOS executes six tasks:

1. WatchDog;
2. Startup Items editor;
3. Feature to restore Startup Profiles;
4. System files editor;
5. Feature for password protection of Windows;
6. Feature to Save or Restore Registry (Windows 98 only) 
   or launch any DOS program.
7) Feature to chrck File Extensions in DOS mode.
8) Restore System Files from original Windows CD-ROM.

Many of these utilities are very useful for experienced users 
but some of them are needed for everyone.
Read more details about each feature.

>Chapter "WatchDog"
-----------------------
WatchDog is your spy in the hidden side of Windows.
On the early stage of Windows startup there are many hidden operations 
that may be very important for you. But the Windows hides it behind the
logo curtain.
Do you want to know about it?  WatchDog tells you.
On the first stage of startup the Windows processes the "wininit.ini" file
that located in the "Windows" folder. The structure of "wininit.ini" is 
similar to other "ini" files.
It has one section [Rename] and any quantaty of rows.
The simple example of "wininit.ini":
[Rename]
C:\WINDOWS\system.bak=C:\WINDOWS\system.dat
C:\WINDOWS\user.bak=C:\WINDOWS\user.dat
C:\WINDOWS\system.dat=C:\WINDOWS\system.pak
C:\WINDOWS\user.dat=C:\WINDOWS\user.pak

This file was created by the Microsoft Scanreg utility. The file on the 
right side is copied  to the file on the left side. If on the left side 
you see "NUL", the file will be deleted. The "system.dat" and "user.dat" 
files are called "The Registry". I.e. the Microsoft utilities often use 
the wininit.ini file to modify very important files!
OK! The Microsoft utilities work well, but what do you think about others? 
Very often the new program that you've installed asks you to reboot computer 
before. Probably, it needs to replace system DLL,  font or do something else. 
Be observant. As you observe these actions, you will begin to understand.
Note! Windows renames the "wininit.ini" to "wininit.bak" after finishing 
processing.

Unfortunately, installation programs need more than  "wininit.ini".
In many cases, it is necessary to launch special programs. And these 
programs use Windows(not DOS) long file names, Windows API etc.
The Windows has the two registry keys for this purpose.
1.      "HKLM\Software\Windows\CurrentVersion\RunServicesOnce".
The programs in this key run before the user log on to the system.
2.      "HKLM\Software\Windows\CurrentVersion\RunOnce".
The programs in this key run for every users in system.

The programs will be launched only once!
After a successful launch, Windows clears the keys.
Unfortunately, any of the programs that start from registry keys 
may hang and locks the system - because Windows can't continue 
loading when a program doesn't finish. 

You haven no remedy other than loading in Safe mode and deleting 
keys manually. The WatchDog will resolve these problems!
To get know how to do it, read the chapter "Usage Secure Start".
You need to know that the items was deleted in it session, you can 
find later in the files: disonce.reg and disonces.reg. And you have
a chance to restore it if you want.


>Chapter "Startup Items Editor"
-------------------------------
The Windows uses the three registry keys to run programs.
You may select:
ú       HKLM\Microsoft\Windows\CurrentVersion\Run (F3)
ú       
HKLM\Microsoft\Windows\CurrentVersion\RunServices (F4)
ú       HKCU\Microsoft\Windows\CurrentVersion\Run (F5)

The "Startup Items" editor shows all programs that started from these
registry keys. You get the full control on the items!

ú       Del - allows to disable item from starting
  It has two clauses: final erasing or suspending.
  If you only suspend an item, later it is possible to resume starting
  of the program. Use RegRun III in Windows mode for resuming.
ú       F2 - disable all items 
ú       Enter - edit
ú       Insert - add new item
We presume that you have the high computer skill needed to modify registry keys.
But you need to remember some of the rules:
The name of key is located on the left side and always it has the forward 
quote and the end quote.
The contents of the registry key is located on the right side and always
has the quotes.
If you need to insert a backslash charater, insert the double backslash (\\).
If you need to insert a quote, insert backslash and after that the quote (\").
Look at the example:
"Norton CrashGuard Monitor"="\"D:\\PROGRAMS\\NORTON CRASHGUARD\\CGMenu.EXE\""

ú       To save and process changes - F10.
ú       To exit - ESC.



>Chapter "Startup Profiles"
---------------------------
Startup Profile's editor is a unique and powerful feature.
It allows to choose startup configuration before running Windows!
Startup Profiler is the best tool for resolving startup problems!

Please, remember the important rules for using.
1) Run RegRun III in Windows mode and save changes.
This operation creates the file called "regrun2.rr2" that 
has the full information about startup process.
We give it a friendly alias "Last Known Good".
If you don't have a "regrun.rr2" file, you can't use the 
"Clean Boot" feature.
You can restore "Last Known Good" profile from DOS mode
or from Windows mode.
We recommend  you to save one more profile (in Windows mode) for safety.
The "Last Know Good" profile is rewrote every time when you save your work.

2) Run "Configuration" function and choose page "Secure Start".
Activate this feature and click "Save".
The RegRun III creates file "regrun2d.ini".
It's a very important file because it contains information about folders.
There is not possibility to get long file names of the folders in DOS mode.
And RegRun III saves the short names of the folders in "regrun2d.ini".
Be careful!
If you change user's configuration or reinstall Windows, you need to
repeat this operation.

3) RegRunIII worked in Windows mode, and saves the list of the available 
profiles to  "backlist.ini". RegRun III in DOS mode reads this list and 
tries to open each file. If the file is valid, it adds the full name of 
profile to the menu.

4) You can create any quantity of profiles while you are working with 
RegRun III in Windows mode. After that you can restore anyone in RegRun III 
for DOS.

How does it work? 
There isn't magic!
RegRun III for DOS creates the subdirectory "PROFILE" and extracts the files
from profile to that directory.
 List of the files:
  - autoexec.bat
  - config.sys
  - system.ini
  - win.ini
  - r2repl.reg (modified registry keys)
  - restrr2.bat - the main bat file for restoring.
  - STARTUP directory contains the shortcut files. The names of these files
  are not real. The long file names will create while processing "restrr2.bat".
  - COMMON directory contains the shortcut files for all users.

Tip:
you can extract files from profile using the command:
regrun2d.exe profile.rr2
(Remember, you need to use short names of profile)
In this case RegRun III for DOS creates all files for restoring but doesn't
run it. Explore these files to know more.

After you've chosen the profile for restoring, RegRun III extracts all files
to PROFILE directory, modify registry and add line with "restrr2.bat" to the
"winstart.bat" file.
The Microsoft tells that the users may use the "winstart.bat"
to load the special TSR programs. But I  think the main advantage
of "winstart.bat" is a possibility to use long file names 
and other advanced DOS functions.
If you didn't know, the DOS program was designed for Windows can
use long file names as any Windows program.

>Chapter "System file editor"
----------------------------
RegRun III for DOS allows you to modify some system files.
1) Autoexec.bat
2) Config.sys 
3) MSDOS.SYS   
4) Win.ini    
5) System.ini  
6) Protocol.ini
7) Winstart.bat
8) Hosts
9) LMHosts
The editor always creates backup copy of file with "old" extension.
See Editor commands. 

MSDOS file syntax.
Commmonly used Boot Settings
-----------------------------
1. Enable Multi Boot
Use this setting to enable the Multiple boot options of Window. 
You can choose the function key F4 when you see starting Windows 95 
or Windows 98 to boot to your previous version of DOS. This can be 
useful for older DOS programs that are incompatible with this version
of MS-DOS.  This setting is unsupported and has no effect if your hard
disk drive is formatted using the new FAT32 technology.
(Windows 95 and OEM Service Release 2)
BootMulti = 0 by default. Setting of 1 enables this option.
(Windows 98)
On a FAT32 boot volume, this setting has no effect

2.Boot to Command Prompt Always
This setting allows the user to force Windows to boot to the DOS 
command prompt by default. It does not override the settings of
either the AUTOEXEC.BAT file or the CONFIG.SYS file. If you enable 
this feature and you still boot Windows by default, chances are you 
are running WIN.COM from one of the boot files or from a batch file 
that is called from the one of the boot files.

BootGUI = 1 by default, a setting of 0 disables Windows from booting.

3.Disable Windows Startup banner
Use this setting to disable the Windows Startup banner, referred to by 
some enthusiasts as the Clouds Screen.
Logo=1 by default, a setting of 0 disables this option

4.Boot to Startup Menu
Use this setting to enable the Windows 95 startup menu by default. 
You can use the startup menu to choose the environment that you need 
to boot into, for instance safe mode if you are having system trouble 
or command prompt only to launch your favorite MS-DOS based game.

If you have disabled function keys or enabled booting to previous version 
of DOS, then this option will be unavailable.

BootMenu=0 by default, a setting of one allows the user to boot to the 
startup menu always with no intervention. Pressing the F8 key at the 
"Starting Windows 95" message will also boot to the startup menu. 
In Windows 98, there is no startup message use the CTRL key to activate 
the startup menu when booting.

5.Boot Menu delay (Seconds)
Use this setting to set the timer on the start menu for the allotted time 
to elapse before the default menu option is enabled. This value allows you 
to set the default time-out before any action is taken by the operating system..

BootMenuDelay=30 by default.

6.Boot Menu Options
The Boot Menu Options Drop Down List allows you to select the default 
menu item to be hi-lighted when you boot to the Windows Startup Menu. 
This option will be the default action taken provided no user intervention 
has occurred before the timer has counted all the way down to zero. 

BootMenuDefault=1 by default. This application only uses a subset of the 
actions the user can take as detailed below

7.Scandisk Options
The Scandisk options allow the user to configure how they want Scandisk 
to run in the event of an abnormal shutdown. This option is available 
only on systems using Windows 95 OEM Service Release 2 and higher. 
By default, Windows will prompt the user that their system shutdown 
improperly and that Scandisk is about to run. Users can change this 
setting to any of the following settings:
Always, Prompt User (default) and Never. 
It is recommended that you do not change the Windows defaults.

MSDOS.SYS setting for OEM Service Release 2:
AutoScan = 1, by default. This will prompt the user before running Scandisk.
        0 = Never
        1 = Normal (Default)
        2 = Always,; Scandisk runs without user intervention

MSDOS.SYS setting for Windows 98:
AutoScan = 1, by default. This will prompt the user before running Scandisk.
        0 = Never
        1 or 2 = Always,; Scandisk runs without user intervention using 
        the settings in the     Scandisk.ini

8. Reset Boot Defaults
Use this option to reset the values in the MSDOS.SYS to their default values.
By choosing this option, you override any of the previous options that were
selected. The default values for the MSDOS.SYS are as follows:

OPTION                VALUE
BOOTMULTI               = 0
BOOTGUI                 = 1
LOGO                    = 1
BOOTMENU                = 0
BOOTMENUDEFAULT = 1
BOOTMENUDELAY   = 30
AUTOSCAN                = 2  ; 
(OSR 2 and above only, option not available in Windows 95)

BOOTKEYS                = 1
BOOTWIN                 = 1
BOOTWARN                = 1
DBLSPACE                = 1
DRVSPACE                = 1
LOADTOP                 = 1

Advanced MSDOS.SYS Settings
---------------------------
1.Disable Function Keys (F5, F8, etc.)
Use this setting if you wish to disable interactive boots. 
The default behavior is to allow the user to press the F5 or F8 keys 
to enable safe mode and the Startup Menu Respectively. 
Changing this setting will disable both the Boot Keys and the Boot Menu options. Use this setting with caution as it may lead to undesirable results. This setting is designed for advanced users and system administrators to strengthen the Windows 95 security environment.  Attempting to change this setting will result in a warning message being displayed on the screen.

Windows 98 only:

This functionality has beeen changed. In order to invoke the startup menu, 
users can press the control key while booting.

MSDOS.SYS setting:
BootKeys = 1 by default, a setting of 0 disables interactive boots, use this 
setting with caution. 

2.Disable Safe Mode Warning
If Windows 95 fails to boot into to the user interface during the device 
driver initialization phase of Windows or for any other reason, the default 
behavior for Windows is to boot to the startup menu with the "Safe Mode" 
option hi-lighted. Use this option to disable this behavior. This setting 
is designed for advanced users and system administrators and should not 
be modified from the defaults.

MSDOS.SYS setting:

BootWarn = 1 by default, a setting of 0 disables this behavior.

3.Boot Previous version of MS-DOS by default
Use this setting to force Windows to boot to the previously installed 
version of DOS. Use this setting with caution as it may prevent the return 
to the Windows environment. If you have disabled interactive boots with the  
"Disable Function Keys option"  or you have enabled "Booting to the Startup 
Menu", this option will be disabled and grayed out. This setting is equivalent 
to pressing F4 when you see "Starting Windows". This setting is designed for 
advanced users and system administrators and should not be modified from 
the defaults. If you are using Windows 98 and your hard disk drive is 
formatted using the new FAT32 technology, this option is unavailabl.

MSDOS.SYS setting:
BootWin=1 by default, a setting of 0 boots your previous version of DOS by 
default. This option is superseded by the Boot GUI option. 

4.Disable DBLSpace Drivers by default
Use this option to disable the loading of DBLSPACE.BIN. By default, Windows 95 
will load both of either DBLSPACE.BIN or DRVSPACE.BIN if either is located 
in the root directory of the boot drive. This option is unavailable 
if this application detects that any of your drives are compressed, however, 
this application does not detect when you have an unmounted compressed drive. 
Use this setting with caution as changing its default value may lead to 
undesirable consequences. This setting is designed for advanced users and 
system administrators and should not be modified from the defaults.

MSDOS.SYS setting:
DBLSpace = 1 by default, a setting of 0 prevents DBLSPACE.BIN from loading.

5.Disable DRVSpace Drivers by default
Use this option to disable the loading of DRVSPACE.BIN. By default, Windows 95 
will load both of either DBLSPACE.BIN or DRVSPACE.BIN if either is located in 
the root directory of the boot drive. This option is unavailable if this 
application detects that any of your drives are compressed, however, this 
application does not detect when you have an unmounted compressed drive. 
Use this setting with caution as changing its default value may lead to 
undesirable consequences. This setting is designed for advanced users and 
system administrators and should not be modified from the defaults.

MSDOS.SYS setting:
DBLSpace = 1 by default, a setting of 0 prevents DBLSPACE.BIN from loading.

6.Load COMMAND.COM low always
Use this option to prevent COMMAND.COM from loading into the High Memory Area.
Use this option if you are having problems with older MS-DOS based applications.
Changing the default setting depletes the total amount of conventional memory
available to MS-DOS programs. This setting is designed for advanced users and
system administrators and should not be modified from the defaults.

MSDOS.SYS setting:
LoadTop = 1 by default, a setting of 0 forces COMMAND.COM from loading into 
the HMA.

7.Double Buffering Options
The topic of Double Buffering is beyond the scope of this help file. 
Double Buffering defaults should never need to be modified from their 
default settings under Windows. The default Windows behavior is to detect 
the need for Double Buffering and to load DBLBUFF.SYS, depending on the 
need of the individual system. This setting is usually forced with some 
SCSI controllers when the system has greater than 16 MB of RAM although 
this is not the sole criteria for such a setting. 

It is strongly recommended that you do not modify the default values for 
this setting as doing so could lead to undesirable consequences. 
This setting is designed for advanced users and system administrators 
and should not be modified from the defaults.

MSDOS.SYS setting:
DoubleBuffer = 1, by default
        0 = Never load DBLBUFF.SYS
        1 = Detect the need for DBLBUFF.SYS
        2 = Always load DBLBUFF.SYS, even if the system does not need it.




>Chapter "Password protection"
------------------------------
You can set password to the Secure Start to improve security.
The feature has two modes:
    a) Global password. You'll be prompted to enter a password when your 
       computer starts.
    b) Local password.  You'll be prompted to enter a password when you 
       access the edit mode of Secure Start.
   You can select only Global or Local mode.
   If you enter an empty password it will be disabled.


>Chapter "DOS commands"
-----------------------
While using RegRun III for DOS you can run DOS shell or any other command.
If you have Microsoft scanreg (Windows'98) you can backup or restore registry.




>Chapter "Editor commands"
--------------------------
F2     - save
CTRL+F - find string
CTRL+P - print
CTRL+Q - clear all
CTRL+Y - delete line 
F4     - begin mark block of lines
F5     - end mark block
F6     - clear marking
CTRL+C - copy block
CTRL+V - move block
CTRL+K - delete block
CTRL+S - save block to file 








>Chapter "Extensions"
---------------------
You may quickly view current assignment for any file extension.
Simply enter extension like "exe" and press Enter.
If your assignment was changed by the virus or another program 
you may restore default assignment.



>Chapter "Restore Files"
------------------------
If your system files was infected by the virus or replaced by trojan programs
you may quickly restore original files from Windows CD-ROM or from the hard disk.
Fill in the form. Enter a filename, location of the Windows installation files,
output path.
For example:
Filename: explorer.exe
Windows installation folder:
C:\DISTRIB\WIN98\ 
Extract to:
c:\windows

Press F2 to begin.















